import Store from './index';
import { apiGetOrderList } from '../api';

//订单管理列表
export const getOrderList = (data?:any) => {
    apiGetOrderList(data).then(res => {
        Store.dispatch({type:'GET_ORDER_LIST', payload:res.data});
    })
}